﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CMS.Entity;
using CMS.DAL;

namespace CMS.BLL
{
    public class BussinessProfileListBLL
    {
        public List<BussinessProfileList> GetLst(string stock, DateTime endDate)
        {
            BussinessProfileListDAL dal = new BussinessProfileListDAL();
            return dal.GetLst(stock, endDate);
        }

        public void Add(BussinessProfileList c)
        {
            BussinessProfileListDAL dal = new BussinessProfileListDAL();
            dal.Add(c);
        }

        public void Update(BussinessProfileList c)
        {
            BussinessProfileListDAL dal = new BussinessProfileListDAL();
            dal.Update(c);
        }

        public BussinessProfileList GetOne(long id)
        {
            BussinessProfileListDAL dal = new BussinessProfileListDAL();
            return dal.GetOne(id);
        }

        public void Delete(long id)
        {
            BussinessProfileListDAL dal = new BussinessProfileListDAL();
            dal.Delete(id);
        }
    }
}
